<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>注册网易免费邮箱 - 中国第一大电子邮件服务商</title>
	<link rel="shortcut icon" href="http://mail.163.com/favicon.ico">
	<link rel="stylesheet" type="text/css" href="assets/css/main.css">

	<style type="text/css">
		footer,section,aside,article,nav,hgroup,figure,figcaption,details,
		summary{
			display:block;margin:0;padding:0;border:none}
			time,mark,ruby,rt,rp,output,keygen,meter,progress,command,source{
				text-decoration:none;font-style:normal;font-weight:normal}



	</style>
</head>
<body>
	<header class="header">
 
	<div class="bg"></div>

	<div class="links">
		<a href="#">了解更多</a>
		<span>|</span>
		<a href="#">反馈意见</a>
	</div>
</header>
<section class="content">
	<header class="content-tit">
		<h1>欢迎注册无限容量的网易邮箱！邮件地址可以登录使用其他网易旗下产品</h1>
		
	</header>

	<div class="mainBody-wp">
		<div class="regTabs">
		<ul>
			<li><a href="#">注册字母邮箱</a></li>
			<li><a href="#">注册手机号码邮箱</a></li>
			<li><a href="#">注册VIP邮箱</a></li>


		</ul>
	</div>
<!-- 第一个表单区 -->

		<div class="mainBody" >

			<dl class="regForm-item mainBody-hasFocus-focusArea">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>
					邮件地址
				</dt>
				<dd class="regForm-item-ct">
					<input type="text" class="ipt">
					<strong class="txt-14">@</strong>
					<select>
						<option selected="selected" value="163.com">163.com</option>
						<option value="126.com">126.com</option>
						<option value="yeah.net">yeah.net</option>

					</select>
					<div class="tips">
						<span class="txt-tips">6~18个字符，可使用字母、数字、下划线，需以字母开头</span>
					</div>
				</dd>

			</dl> 
			<dl  class="regForm-item">
				<dt class="regForm-item-tit"><span class="txt-impt">*</span>密码</dt>
				<dd class="regForm-item-ct">
					<input  type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
					<div class="tips" style="position:relative">
						<div class="pswState pswState-poor" style="display:none;">
							<span class="s1">弱</span>
							<span class="s2">中等</span>
							<span class="s3">强</span>
						</div>
						<span class="txt-tips">6~16个字符，区分大小写</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>确认密码</dt>
				<dd class="regForm-item-ct">
					<input type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
					<div class="tips">
						<span class="txt-tips">请再次填写密码</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>手机号码
				</dt>
				<dd class="regForm-item-ct">
					<div class="inputContainer itlPhone" style="padding-left: 0px;">
						<input value="+86" type="text" id="mainMobileIpt" name="mobile" class="input ipt norWidthIpt" value="" style="padding-left: 35px;width:272px;">
						<div class="itlSelect" >
						<a href="#" class="flag-CN" data-code="+86-"><em>&nbsp;</em>中国 +86</a>
						<a href="#" class="flag-AL" data-code="+355-"><em>&nbsp;</em>阿尔巴尼亚(Shqipëria) +355</a>
						<a href="#" class="flag-DZ" data-code="+213-"><em>&nbsp;</em>阿尔及利亚(People's Democratic Republic of Algeria) +213</a>
						<a href="#" class="flag-AF" data-code="+93-"><em>&nbsp;</em>阿富汗(Republic of Afghanistan) +93</a>
						<a href="#" class="flag-AR" data-code="+54-"><em>&nbsp;</em>阿根廷(Argentina) +54</a>
						<a href="#" class="flag-AE" data-code="+971-"><em>&nbsp;</em>阿拉伯联合大公国(The United Arab Emirates) +971</a>
						<a href="#" class="flag-AW" data-code="+297-"><em>&nbsp;</em>阿鲁巴(Aruba) +297</a>
						<a href="#" class="flag-OM" data-code="+968-"><em>&nbsp;</em>阿曼(Sultanate of Oman) +968</a>
						<a href="#" class="flag-AZ" data-code="+994-"><em>&nbsp;</em>阿塞拜疆(Azərbaycan) +994</a>
						<a href="#" class="flag-EG" data-code="+20-"><em>&nbsp;</em>埃及(The Arab Republic of Egypt) +20</a>
						<a href="#" class="flag-ET" data-code="+251-"><em>&nbsp;</em>埃塞俄比亚(Ityop'iya) +251</a>
						<a href="#" class="flag-IE" data-code="+353-"><em>&nbsp;</em>爱尔兰(Ireland) +353</a>
						<a href="#" class="flag-EE" data-code="+372-"><em>&nbsp;</em>爱沙尼亚(Eesti) +372</a>	

						</div>
					<div class="itl" style="width:35px;height:27px;line-height:27px;">
						<div class="itlFlag flag-CN">
						<em>&nbsp;</em>
					</div>

				</div>
			</div>
					<div id="mainMobileTips" class="tips">
						<span class="txt-tips">忘记密码时，可以通过该手机号码快速找回密码</span>
					</div>
				</dd>
			</dl>
			<dl  class="regForm-item vCodeArea vCodeArea-big">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>验证码</dt>
				<dd class="regForm-item-ct">
			<input type="text" class="ipt" autocomplete="off" style="width: 196px;" vertical-align:middle	>
				<img class="vCode" style="cursor:pointer;" src="assets/img/call.jpg" alt="验证码" width="120" height="50" >
				<a id="vcodeA" href="javascript:void(0);" class="switchvCode" tabindex="-1">看不清楚？换张图片</a>
					<div id="vcodeTips" class="tips">
						<span class="txt-tips">请填写图片中的字符，不区分大小写</span>
					</div>
					
					<div class="btns">
						<a href="javascript:void(0);" class="btn" hidefocus="true" onclick="_Global.main.mainAcode();">
							<strong  >免费获取验证码</strong>
						</a>
						
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>短信验证码</dt>
				<dd class="regForm-item-ct">
					<input type="text" class="ipt norWidthIpt" autocomplete="off">
					<div class="tips">
						<span class="txt-tips">请查收手机短信，并填写短信中的验证码</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dd class="regForm-item-ct txt-tips">
					<label></label><input type="checkbox" checked="checked" tabindex="-1"> 同意<a href="http://reg.163.com/agreement.shtml" target="_blank" tabindex="-1">"服务条款"</a>和<a href="http://reg.163.com/agreement_game.shtml" target="_blank" tabindex="-1">"隐私权相关政策"</a>
					<div ></div>
				</dd>
			</dl>
			<dl class="regForm-item">	
				<dd class="regForm-item-ct">
					<a href="javascript:void(0);"  class="btnReg" " style="font-size: 18px;">立即注册</a>
					
				</dd>
			</dl>
			
		</div>
<!-- 第二个表单区 -->
		<div class="mainBody" style="display: none;">
			<<dl id="mobileDl" class="regForm-item">
				<dt class="regForm-item-tit"><span class="txt-impt">*</span>手机号码</dt>
				<dd class="regForm-item-ct">
					<div class="mob-supt" style="position:relative;">
						<input id="mobileIpt" name="mobile" type="text" class="ipt" style="ime-mode:disabled; width: 300px； " autocomplete="off" >
						<strong class="txt-14">@163.com</strong>
						<a class="ico ico-mob"></a>
					</div>
					<div id="mobileTips" class="tips">
						<span class="txt-tips">请填写手机号码</span>
						
					</div>
				</dd>
			</dl>
			<dl  class="regForm-item vCodeArea vCodeArea-big">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>验证码</dt>
				<dd class="regForm-item-ct">
			<input type="text" class="ipt" autocomplete="off" style="width: 196px;" vertical-align:middle	>
				<img class="vCode" style="cursor:pointer;" src="assets/img/call.jpg" alt="验证码" width="120" height="50" >
				<a id="vcodeA" href="javascript:void(0);" class="switchvCode" tabindex="-1">看不清楚？换张图片</a>
					<div id="vcodeTips" class="tips">
						<span class="txt-tips">请填写图片中的字符，不区分大小写</span>
					</div>
					
					<div class="btns">
						<a href="javascript:void(0);" class="btn" hidefocus="true" onclick="_Global.main.mainAcode();">
							<strong  >免费获取验证码</strong>
						</a>
						
					</div>
				</dd>
			</dl>

			<dl  class="regForm-item">
				<dt class="regForm-item-tit"><span class="txt-impt">*</span>短信验证码</dt>
				<dd class="regForm-item-ct">
					<input  type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
					<div class="tips" style="position:relative">
						<span class="txt-tips">请查收手机短信，并填写短信中的验证码</span>
					</div>
				</dd>
			</dl>

			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>密码</dt>
				<dd class="regForm-item-ct">
					<input type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
					<div class="tips">
						<span class="txt-tips">6~16个字符，区分大小写</span>
					</div>
				</dd>
			</dl>

			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>确认证码</dt>
				<dd class="regForm-item-ct">
					<input type="text" class="ipt norWidthIpt" autocomplete="off">
					<div class="tips">
						<span class="txt-tips">再次填写密码</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dd class="regForm-item-ct txt-tips">
					<label></label><input type="checkbox" checked="checked" tabindex="-1"> 同意<a href="http://reg.163.com/agreement.shtml" target="_blank" tabindex="-1">"用户须知"</a>和<a href="http://reg.163.com/agreement_game.shtml" target="_blank" tabindex="-1">"隐私权相关政策"</a>
					<div ></div>
				</dd>
			</dl>
			<dl class="regForm-item">	
				<dd class="regForm-item-ct">
					<a href="javascript:void(0);"  class="btnReg" " style="font-size: 18px;">立即注册</a>
					
				</dd>
			</dl>
			
		</div>
<!-- 第三个表单区 -->
        <div class="mainBody" style="display: none;">
            <div class="m-title">注册网易VIP邮箱，安全提升30%，享1对1服务，30元/月</div>
			<dl class="regForm-item mainBody-hasFocus-focusArea">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>
					用户名
				</dt>
				<dd class="regForm-item-ct">
					<input type="text" class="ipt">
					<strong class="txt-14">@VIP.163.com</strong>
					<div class="tips">
						<span class="txt-tips">用户名不能为空</span>
					</div>
				</dd>

			</dl> 
			<dl  class="regForm-item">
				<dt class="regForm-item-tit"><span class="txt-impt">*</span>密码</dt>
				<dd class="regForm-item-ct">
					<input  type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
					<div class="tips" style="position:relative">
					
						<span class="txt-tips">6~16个字符，区分大小写</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>滑动验证码</dt>
				<dd class="regForm-item-ct">
					<input type="password" class="ipt norWidthIpt" style="border-radius: 39px; line-height: 24px;">
					<div class="tips">
						<span class="txt-tips">请滑动上方滑块验证</span>
					</div>
				</dd>
			</dl>
			
			<dl  class="regForm-item vCodeArea vCodeArea-big">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>安全手机</dt>
				<dd class="regForm-item-ct">
			        <input type="text" class="ipt" autocomplete="off" style="width: 300px;" vertical-align:middle	>
				
					<div id="vcodeTips" class="tips">
						<span class="txt-tips">找回密码和认证时使用，不扣费</span>
					</div>
					
					<div class="btns">
						<a href="javascript:void(0);" class="btn" hidefocus="true" >
							<strong  >免费获取验证码</strong>
						</a>
						
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dt class="regForm-item-tit">
					<span class="txt-impt">*</span>手机验证码</dt>
				<dd class="regForm-item-ct">
					<input type="text" class="ipt norWidthIpt" autocomplete="off">
					<div class="tips">
						<span class="txt-tips">请查手机验证码，不区分大小写</span>
					</div>
				</dd>
			</dl>
			<dl class="regForm-item">
				<dd class="regForm-item-ct txt-tips">
					<label></label><input type="checkbox" checked="checked" tabindex="-1">我以阅读并接受<a href="http://reg.163.com/agreement.shtml" target="_blank" tabindex="-1">"网易VIP邮箱服务条款"</a>
					<div ></div>
				</dd>
			</dl>
			<dl class="regForm-item">	
				<dd class="regForm-item-ct">
					<a href="javascript:void(0);"  class="btnReg" " style="margin: 14px; font-size: 18px;">立即注册</a>
						
						<div class="m-warn">温馨提示：注册3天内未支付，用户名将被回收，可能被他人抢注！</div>

				</dd>
			</dl>
			
		</div>
	
		<div class="mainside">
			
			<div class="regExt">
				
				<img src="assets/img/reg_master.gif">
			</div>
		</div> 
		
	</div>
	


	<footer class="footer" style="height:140px">
	 <a tabindex="-1" href="http://corp.163.com/index_gb.html" target="_blank">关于网易</a>
	
	 <a tabindex="-1" href="http://mail.163.com/html/mail_intro" target="_blank">关于网易免费邮</a>
	
	 <a tabindex="-1" href="http://mail.blog.163.com/" target="_blank">邮箱官方博客</a>
	
	 <a tabindex="-1" href="http://help.163.com/" target="_blank">客户服务</a>

	 <a tabindex="-1" href="http://corp.163.com/gb/legal/legal.html" target="_blank">隐私政策
	 &nbsp;|&nbsp;
	 网易公司版权所有&nbsp;©&nbsp;1997-
	<script src="http://mimg.127.net/copyright/year.js">
</script>2018	
	 <br>数据来源：艾媒咨询《2015-2018中国个人邮箱行业研究报告》</a>

</footer>
</section>
<script type="text/javascript">
	
	function switchPanel(){
		
		console.log('Hello javascript');

		
	    var div = document.querySelector('.itl');
	    var sdd = document.querySelector('.itlSelect');
	    sdd.style.display="none";
 
		div.addEventListener('click',function(e){
			var a = e.target;

			if(sdd.style.display=="block"){
				sdd.style.display="none";

			}else{
				sdd.style.display="block";
			};
		})
	}

	 function selectFlag(){

	 	var oIpt = document.querySelector('#mainMobileIpt');
	 	
	 	var flagCN = document.querySelector('.itl div');
	 	

	 	var links = document.querySelectorAll('.itlSelect a');

        var sdd= document.querySelector('#sdd');

	 	for(i=0; i<links.length; i++) {
	 		
	 		links[i].addEventListener('click',function(e){

	 			var a = e.target;pos = a.innerText.indexOf('+');
	 			var lth = a.innerText.length;cno = a.innerText.substr(pos, lth-pos);
	 			
	 			var sdd = document.querySelector('.itlSelect');
	 			sdd.style.display="none";
	 			
	 			flagCN.className = 'itlFlag '+a.className;
	 			oIpt.value = cno;

	 			console.log(cno);
	 		})
	 	}
	 }

	 function switchTab(){
	 	 var oForm = document.querySelectorAll('.mainBody'); 
	 	 var tabs = document.querySelectorAll('.regTabs ul li a');
	 	 var regExt = document.querySelector('.regExt img');
         for (var i=0; i<tabs.length; i++){
         	tabs[i].index =i;
         	tabs[i].addEventListener('click',function(e){
         		var a = e.target;

         switch(a.index){
         	case 1:

         	regExt.setAttribute('src','assets/img/reg_master.gif');
         		document.querySelector('.regTabs ul').style.background='url(assets/img/tab.jpg) 0 -58px';
         		break;

         	case 2:

         	regExt.setAttribute('src','assets/img/reg_vip_163.gif');
         		document.querySelector('.regTabs ul').style.background='url(assets/img/tab.jpg) 0 -111px';
         		break;

         	default:

         	regExt.setAttribute('src','assets/img/reg_master.gif');
         		document.querySelector('.regTabs ul').style.background='url(assets/img/tab.jpg) 0 0';

         }


         for(i=0;i<tabs.length;i++){
         	tabs[i].style.color = '#000';
         	oForm[i].style.display = 'none'
         }

         a.style.color= '#fff';

         oForm[this.index].style.display = 'block';

        


         	})
         }
	 }
    


	selectFlag();

    switchPanel();

    switchTab();



</script>

</body>
</html>